package com.ikun.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.*;

/**
 * 疾病表
 *
 * @author Guio
 * @since 2024-02-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Disease implements Serializable {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 疾病名称
     */
    private String dName;
    /**
     * 名称索引
     */
    @TableField(exist = false)
    private char dIndex;

    /**
     * 简述
     */
    private String dIntroduce;
}
